package com.yt.base.dao;

import java.util.List;

import com.yt.base.model.AclUserOperation;
import com.yt.core.dao.GenericDao;

public interface AclUserOperationDao extends GenericDao<AclUserOperation, Long> {
	
	/**
	 * 删除对应用户ID的所有操作权限
	 * @param uid
	 */
	void removeByUser(Long uid);
	
	/**
	 * 批量删除
	 * @param idList
	 */
	int batchDelete(List<Long> idList);
	
	/**
	 * 批量插入
	 * @param opList
	 * @return
	 */
	int batchInsert(List<AclUserOperation> opList);
}
